-- GENERATED SPELL FOR [Moonstalker Sire] --


function spell0_2237(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(6595,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2237', 0, 1)
end

function Sorts_2237(pUnit, Event)
local choix_sorts_2237 = math.random(0, 0)
if choix_sorts_2237 == 0 then
pUnit:RegisterEvent('spell0_2237', 1, 1)
end
end

function mob2237_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2237', math.random(1500, 3000), 1)
end

function mob2237_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2237_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2237_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2237, 1, 'mob2237_Action')
RegisterUnitEvent(2237, 2, 'mob2237_Leave')
RegisterUnitEvent(2237, 3, 'mob2237_Kill')
RegisterUnitEvent(2237, 4, 'mob2237_Die')
